const info = {
  age: undefined,
};

console.log(info?.age ?? 10);